package com.wang.orders.pojo;

import com.wang.goods.pojo.AGoods;
import com.wang.users.pojo.AUsers;

import java.util.Date;

/**
 * pojo(订单表)
 */
public class AOrders
{
    private int id;
    private int usersId;
    private String receName;
    private String recePhone;
    private String receAddress;
    private double totalPrice;
    private double dealAmount;
    private String content;
    private byte status;
    private Date createTime;
    private Date updateTime;
    private Date pubTime;
    private Date payTime;

    /* 关联字段 */
    private AUsers users ;

    public int getId()
    {
        return id;
    }

    public void setId(int id)
    {
        this.id = id;
    }

    public int getUsersId()
    {
        return usersId;
    }

    public void setUsersId(int usersId)
    {
        this.usersId = usersId;
    }

    public String getReceName()
    {
        return receName;
    }

    public void setReceName(String receName)
    {
        this.receName = receName;
    }

    public String getRecePhone()
    {
        return recePhone;
    }

    public void setRecePhone(String recePhone)
    {
        this.recePhone = recePhone;
    }

    public String getReceAddress()
    {
        return receAddress;
    }

    public void setReceAddress(String receAddress)
    {
        this.receAddress = receAddress;
    }

    public double getTotalPrice()
    {
        return totalPrice;
    }

    public void setTotalPrice(double totalPrice)
    {
        this.totalPrice = totalPrice;
    }

    public double getDealAmount()
    {
        return dealAmount;
    }

    public void setDealAmount(double dealAmount)
    {
        this.dealAmount = dealAmount;
    }

    public String getContent()
    {
        return content;
    }

    public void setContent(String content)
    {
        this.content = content;
    }

    public byte getStatus()
    {
        return status;
    }

    public void setStatus(byte status)
    {
        this.status = status;
    }

    public Date getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }

    public Date getUpdateTime()
    {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime)
    {
        this.updateTime = updateTime;
    }

    public Date getPubTime()
    {
        return pubTime;
    }

    public void setPubTime(Date pubTime)
    {
        this.pubTime = pubTime;
    }

    public Date getPayTime()
    {
        return payTime;
    }

    public void setPayTime(Date payTime)
    {
        this.payTime = payTime;
    }

    public AUsers getUsers()
    {
        return users;
    }

    public void setUsers(AUsers users)
    {
        this.users = users;
    }
}
